﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EventHandler.Libraries.Business
{
    public class Authenticator : IAuthenticator
    {
        private IAuthenticationProvider _provider;

        public Authenticator(IAuthenticationProvider provider)
        {
            _provider = provider;
        }

        public bool Login()
        {
            return _provider.Login();
        }
    }
}
